home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / util / restools.sit / ResTools 3.20.rsrc / HTXT_8_Giving resources names and setting attributes_ < prev    next >
Text File  |  1988-12-28  |  537b  |  17 lines

  1. Resources can be given names by including a name after the
  2. resource ID and before the attributes entries. Example:
  3. 
  4. resource 'STR '  (128, "ResourceName" , preLoad)  
  5. {
  6.     "This is a named string resource"
  7. }; 
  8. 
  9. The following attributes are predefined although any numeric expression
  10. is also acceptable: "sysheap","purgeable","locked","protected", "preload".
  11. The following are some examples of how these can be used:
  12. 
  13.     (128)
  14.     (128,preload,purgeable,locked,protected)
  15.     (128,34)
  16.     (128,"SuperResource",preload+locked)
  17.